import * as Router from "koa-router"

const router = new Router({prefix: '/auth'});
const {login, register} = require("../controllers/auth");
router.post("/register", register);
router.post("/login", login);

export  default router
